from django import template
from django.utils.safestring import mark_safe

import json

register = template.Library()

@register.filter
def tojsonstring(oJson):
	return mark_safe(json.dumps(oJson))

